package com.dormitory.manage.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.dormitory.manage.pojo.College;
import com.dormitory.manage.vo.CollegeDetailVo;

import java.util.List;

/**
 * @author Administrator
 * @version 1.0
 * @description CollegeService
 * @date 2023/4/7 0007 23:49
 */
public interface CollegeService extends IService<College> {
    List<String> getCollegeNameList();

    List<CollegeDetailVo> getCollegeListDetail();

    boolean removeCollege(Long id);

    College getCollegeInfo(Long id);

    boolean updateCollege(College college);

    boolean addCollege(College college);

    College getCollege(String collegeName);
}
